// SMMSDlg.h : header file
//

#if !defined(AFX_SMMSDLG_H__CE5A0891_F8C7_40F2_9FF8_86FE7F7E831F__INCLUDED_)
#define AFX_SMMSDLG_H__CE5A0891_F8C7_40F2_9FF8_86FE7F7E831F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Resource.h"

__declspec(dllimport) BOOL CallStuffDocumentDlg(_ConnectionPtr m_pConnection);
__declspec(dllimport) BOOL CallStuffDutyDlg(_ConnectionPtr m_pConnection);
__declspec(dllimport) BOOL CallGoodsIntroDlg(_ConnectionPtr m_pConnection);
__declspec(dllimport) BOOL CallGoodsInOutDlg(_ConnectionPtr m_pConnection);
__declspec(dllimport) BOOL CallShopGetheringDlg(_ConnectionPtr m_pConnection);
__declspec(dllimport) BOOL CallLPSheetDlg( _ConnectionPtr m_pConnection );
__declspec(dllimport) BOOL CallSalaryInfoDlg(_ConnectionPtr m_pConnection );
__declspec(dllimport) BOOL CallBillInfoDlg( _ConnectionPtr m_pConnection );
__declspec(dllimport) BOOL CallDemandInfoDlg(_ConnectionPtr m_pConnection );
__declspec(dllimport) BOOL CallSupplyInfoDlg(_ConnectionPtr m_pConnection );
__declspec(dllimport) BOOL CallSuddenEventDlg(_ConnectionPtr m_pConnection);
__declspec(dllimport) BOOL CallBusinessRelatDlg(_ConnectionPtr m_pConnection);
__declspec(dllimport) BOOL CallMemoDlg( _ConnectionPtr m_pConnection );
__declspec(dllimport) BOOL CallHelpDlg( _ConnectionPtr m_pConnection );
__declspec(dllimport) BOOL CallChatRoomDlg();

/////////////////////////////////////////////////////////////////////////////
// CSMMSDlg dialog

class CSMMSDlg : public CDialog
{
// Construction
public:
	CSMMSDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CSMMSDlg)
	enum { IDD = IDD_SMMS_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSMMSDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CSMMSDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnBillinfo();
	afx_msg void OnClose();
	afx_msg void OnDemand();
	afx_msg void OnEvent();
	afx_msg void OnGoodsintro();
	afx_msg void OnGoodsio();
	afx_msg void OnHelp();
	afx_msg void OnLpsheet();
	afx_msg void OnMemo();
	afx_msg void OnRelat();
	afx_msg void OnSalaryinfo();
	afx_msg void OnShopgether();
	afx_msg void OnStuffdoc();
	afx_msg void OnStuffduty();
	afx_msg void OnSupply();
	afx_msg void OnChatroom();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

public:
	_ConnectionPtr m_pConnection;
	void OpenConn();
	void CloseConn();
	CString GetExeFilePath();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SMMSDLG_H__CE5A0891_F8C7_40F2_9FF8_86FE7F7E831F__INCLUDED_)
